/* 
 * File:   itaskmgr.h
 * Author: andrey
 *
 * Created on 14 Январь 2011 г., 4:20
 */

#pragma once

#include "itask.h"


class ITaskMgr
{
public:
    ITaskMgr(){}

    virtual ~ITaskMgr(){}

    virtual int Init() = 0;

    virtual int ProcessTasks(ITask**,int) = 0;

	virtual ITask* GetTask() = 0;

};

class IThread
{
public:
    IThread(){}
    
    virtual ~IThread(){}

	virtual void Close()  = 0;

};


